/*
 * @Description: mark
 * @Author: wangwangwang
 * @Date: 2020-09-07 17:19:32
 * @LastEditors: wangwangwang
 * @LastEditTime: 2020-11-28 10:37:50
 */
import request from '@/utils/request'
/**
 * @Description: 新增或修改默认工艺流程
 * @Param: 
 * @Author: wangwangwang
 * @param {*} data
 */
export function saveOrUpdate(data) {
  return request({
    url: '/icps/system/sign/basics/defaultPoint/saveOrUpdate',
    method: 'post',
    data
  })
}
/**
 * @Description: 修改站点的工艺流程
 * @Param: 
 * @Author: wangwangwang
 * @param {*} data
 */
export function updatePointData(data) {
  return request({
    url: '/icps/system/sign/basics/technological/saveOrUpdate',
    method: 'post',
    data
  })
}
export function getPointData(params) {
  return request({
    url: '/icps/system/sign/basics/defaultPoint/queryOne',
    method: 'get',
    params
  })
}
/**
 * @Description: 获取站点的管控点
 * @Param: 
 * @Author: wangwangwang
 * @param {*} params
 */
export function queryProcesses(data) {
  return request({
    url: '/icps/system/sign/basics/technological/queryProcesses',
    method: 'post',
    data
  })
}
